﻿using SMARTMobile.WinPhone.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SMARTMobile.Models.UI
{
    public class PhanTuyenModel : BaseModel<PhanTuyenModel> 
    {
        private String _salespKey;
        private bool _check;
        private String _customerDetail;
        private bool _T2;
        private bool _T3;
        private bool _T4;
        private bool _T5;
        private bool _T6;
        private bool _T7;
        private String _freq;
        private String _outletTypeCode;
        private String _globalTypeCode;
        private String _gFKArea;

        private ObservableCollection<String> _freqList;

        public ObservableCollection<String> FreqList
        {
            get
            {
                _freqList = new ObservableCollection<string>();
                _freqList.Add("1.3");
                _freqList.Add("1.4");
                _freqList.Add("2.1");
                _freqList.Add("2.2");
                _freqList.Add("4");
                _freqList.Add("8");
                _freqList.Add("12");
                _freqList.Add("24");
                return _freqList;
            }
            set { _freqList = value; RaisePropertyChanged("FreqList"); }
        }

        public String SalespKey
        {
            get { return _salespKey; }
            set { _salespKey = value; }
        }
        public bool Check
        {
            get { return _check; }
            set { _check = value; }
        }

        public String CustomerDetail
        {
            get { return _customerDetail; }
            set { _customerDetail = value; }
        }

        public bool T2
        {
            get { return _T2; }
            set { _T2 = value; }
        }

        public bool T3
        {
            get { return _T3; }
            set { _T3 = value; }
        }

        public bool T4
        {
            get { return _T4; }
            set { _T4 = value; }
        }

        public bool T5
        {
            get { return _T5; }
            set { _T5 = value; }
        }

        public bool T6
        {
            get { return _T6; }
            set { _T6 = value; }
        }

        public bool T7
        {
            get { return _T7; }
            set { _T7 = value; }
        }

        public String Freq
        {
            get { return _freq; }
            set { _freq = value; }
        }

        public String OutletTypeCode
        {
            get { return _outletTypeCode; }
            set { _outletTypeCode = value; }
        }

        public String GlobalTypeCode
        {
            get { return _globalTypeCode; }
            set { _globalTypeCode = value; }
        }

        public String GFKArea
        {
            get { return _gFKArea; }
            set { _gFKArea = value; }
        }

    }
}
